package com.xxw.xxw.controller;

import com.xxw.xxw.pojo.UserPo;
import com.xxw.xxw.service.HelloService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/getuser")
public class HelloController {

    @Autowired
    private HelloService helloService;

    @RequestMapping("/getss")
    @ResponseBody
    public UserPo getUserPoById(){
        return helloService.getUserPoById();
    }

}
